Building the Model: General Elements > Pre-defined Tank Subroutines > Tank_Prep

Tank_Prep

Syntax samples

TANK_PREP (<Tank ID>, <Prep time>)

TANK_PREP (TankA, 5)

Description

Sets the state of the tank to Tank_Setup, waits for the specified time, then sets the state to Tank_Idle. Use Tank_Prep for cleaning activities after you empty a tank.

 

Use Tank_Prep to take a tank off line for cleaning or other preparation time.

Components

<Tank ID>

The tank name or location index number.

<Prep time>

The duration (in time units defined in the General Information dialog) of preparation time.

Example

Workers clean a mixing tank for 30 minutes after each batch produced. To model this, enter the following logic in the mixing subroutine defined for the mixing tank:

 

Tank_Loop //logic repeats continuously

{

[Enter mixing and transfer logic here]

Tank_Prep(MixingTank, 30)

}

See Also

Tanks.


© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com